import keepAlive from "@/store/modules/keepAlive";

export default {
	allMunu: {
		menu: [
		{
			name: "home",
			pid: "01",
			path: "/home",
			meta: {
				title: "首页",
				icon: "el-icon-eleme-filled",
				type: "menu",
				keepAlive:true,
			},
			children: [
				{
					name: "userCenter",
					pid: "0101",
					path: "/usercenter",
					meta: {
						title: "帐号信息",
						icon: "el-icon-user",
						type: "menu",
					},
					component: "userCenter",
				}
			],
		},

		{
			name: "supplierManager",
			pid: "02",
			path: "/supplierManager",
			meta: {
				title: "供应商管理",
				icon: "el-icon-eleme-filled",
				
				type: "menu",
				keepAlive:true,
			},
			children: [
				{
					name: "supplier",
					pid: "0201",
					path: "/supplier",
					meta: {
						title: "供应商列表",
						icon: "el-icon-user",
						type: "menu",
						keepAlive: true,
					},
					component: "supplier",
				}
			],
		},
		{
			name: "store",
			pid: "03",
			path: "/store",
			meta: {
				title: "店铺管理",
				icon: "el-icon-eleme-filled",
				type: "menu",
				keepAlive:true
			},
			children: [
				{
					name: "storeList",
					pid: "0301",
					path: "/store/index",
					meta: {
						title: "供应商列表",
						icon: "el-icon-user",
						type: "menu",
						keepAlive: true,
					},
					component: "store/index",
				}
			],
		}
	]
	}
};
